<%@ page import="ihotel.Funcionario" %>



<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'nome', 'error')} required">
	<label for="nome">
		<g:message code="funcionario.nome.label" default="Nome" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="nome" required="" value="${funcionarioInstance?.nome}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'cargo', 'error')} required">
	<label for="cargo">
		<g:message code="funcionario.cargo.label" default="Cargo" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="cargo" required="" value="${funcionarioInstance?.cargo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'setor', 'error')} required">
	<label for="setor">
		<g:message code="funcionario.setor.label" default="Setor" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="setor" required="" value="${funcionarioInstance?.setor}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'login', 'error')} required">
	<label for="login">
		<g:message code="funcionario.login.label" default="Login" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="login" required="" value="${funcionarioInstance?.login}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: funcionarioInstance, field: 'senha', 'error')} required">
	<label for="senha">
		<g:message code="funcionario.senha.label" default="Senha" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="password" name="senha" required="" value="${funcionarioInstance?.senha}"/>
</div>

